using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.HomeRefinancing
{
    public class JBApplicationDetail
    {
        public JBApplicationDetail()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _hfjbappid;
        private string _salutation;
        private string _firstname;
        private string _surname;
        private string _lastname;
        private string _middlename;
        private DateTime _dob;
        private string _emailaddress;
        private string _postcode;
        private string _unitno;
        private string _address;
        private string _nationality;
        private string _idno;
        private string _maritalstatus;
        private string _phoneno;
        private string _mobileno;
        private string _officeno;
        private string _indbustype;
        private string _currentempname;
        private string _gender;
        private string _occupation;
        private float _montlyincome;
        private float _otherincome;

        private string _othercontact1;
        private string _othercontact2;

        //common field name
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;
        private string _info11;
        private string _info12;
        private string _info13;
        private string _info14;
        private string _info15;
        private string _info16;
        private string _info17;
        private string _info18;
        private string _info19;
        private string _info20;

        public Int64 HFJBAppID { get { return _hfjbappid; } set { _hfjbappid = value; } }
        public string Salutation { get { return _salutation; } set { _salutation = value; } }
        public string FirstName { get { return _firstname; } set { _firstname = value; } }
        public string SurName { get { return _surname; } set { _surname = value; } }
        public string LastName { get { return _lastname; } set { _lastname = value; } }
        public string MiddleName{ get {return _middlename;} set {_middlename = value;}}
        public DateTime DOB{ get {return _dob;} set {_dob = value;}}
        public string EmailAddress{ get {return _emailaddress;} set {_emailaddress = value;}}
        public string PostCode{ get {return _postcode;} set {_postcode = value;}}
        public string UnitNo{ get {return _unitno;} set {_unitno = value;}}
        public string Address{ get {return _address;} set {_address = value;}}
        public string Nationality{ get {return _nationality;} set {_nationality = value;}}
        public string IDNO{ get {return _idno;} set {_idno = value;}}
        public string MaritalStatus{ get {return _maritalstatus;} set {_maritalstatus = value;}}
        public string PhoneNo{ get {return _phoneno;} set {_phoneno = value;}}
        public string MobileNo{ get {return _mobileno;} set {_mobileno = value;}}
        public string OfficeNo{ get {return _officeno;} set {_officeno = value;}}
        public string IndBusType{ get {return _indbustype;} set {_indbustype = value;}}
        public string CurrentEmpName{ get {return _currentempname;} set {_currentempname = value;}}
        public string Gender{ get {return _gender;} set {_gender = value;}}
        public string Occupation{ get {return _occupation;} set {_occupation = value;}}
        public float MontlyIncome{ get {return _montlyincome;} set {_montlyincome = value;}}
        public float OtherIncome{ get {return _otherincome;} set {_otherincome = value;}}
        public string OtherContact1{ get {return _othercontact1;} set {_othercontact1 = value;}}
        public string OtherContact2{ get {return _othercontact2;} set {_othercontact2 = value;}}
        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public string Info11
        {
            get { return _info11; }
            set { _info11 = value; }
        }

        public string Info12
        {
            get { return _info12; }
            set { _info12 = value; }
        }

        public string Info13
        {
            get { return _info13; }
            set { _info13 = value; }
        }

        public string Info14
        {
            get { return _info14; }
            set { _info14 = value; }
        }

        public string Info15
        {
            get { return _info15; }
            set { _info15 = value; }
        }

        public string Info16
        {
            get { return _info16; }
            set { _info16 = value; }
        }

        public string Info17
        {
            get { return _info17; }
            set { _info17 = value; }
        }

        public string Info18
        {
            get { return _info18; }
            set { _info18 = value; }
        }

        public string Info19
        {
            get { return _info19; }
            set { _info19 = value; }
        }

        public string Info20
        {
            get { return _info20; }
            set { _info20 = value; }
        }

        public void ClearFields()
        {
            _hfjbappid = 0;
            _salutation= "";
            _firstname= "";
            _surname= "";
            _lastname= "";
            _middlename= "";
            _dob = new DateTime();
            _dob = CE.Global.General.GetUTCDateTime();
            _emailaddress= "";
            _postcode= "";
            _unitno= "";
            _address= "";
            _nationality= "";
            _idno= "";
            _maritalstatus= "";
            _phoneno= "";
            _mobileno= "";
            _officeno= "";
            _indbustype= "";
            _currentempname= "";
            _gender= "";
            _occupation= "";
            _montlyincome = 0.0f;
            _otherincome = 0.0f;
            _othercontact1= "";
            _othercontact2= "";
            //common field name
            _status = false;
            _createddate = new DateTime();
            _modifieddate = new DateTime();
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
            _info11 = "";
            _info12 = "";
            _info13 = "";
            _info14 = "";
            _info15 = "";
            _info16 = "";
            _info17 = "";
            _info18 = "";
            _info19 = "";
            _info20 = "";
        }
    }
}
